﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class m_QS_List : DataObject
    {
        [Column]
        public string Plant { get { return _Plant; } set { _Plant = value; EntityState.FieldChange("Plant"); } }
        private string _Plant;
        public static FieldInfo plant = new FieldInfo("m_QS_List", "Plant");

        [Column]
        public string Master_Insp_Charac 
        { 
            get 
            { 
                return _Master_Insp_Charac; 
            } 
            set 
            {
                _Master_Insp_Charac = value;
                EntityState.FieldChange("Master_Insp_Charac");
            } 
        }
        private string _Master_Insp_Charac;
        public static FieldInfo master_insp_charac = new FieldInfo("m_QS_List", "Master_Insp_Charac");

        [Column]
        public string Code_Group_Sel_Set { get { return _Code_Group_Sel_Set; } set { _Code_Group_Sel_Set = value; EntityState.FieldChange("Code_Group_Sel_Set"); } }
        private string _Code_Group_Sel_Set;
        public static FieldInfo code_group_sel_set = new FieldInfo("m_QS_List", "Code_Group_Sel_Set");

        [Column]
        public string Description_ZH { get { return _Description_ZH; } set { _Description_ZH = value; EntityState.FieldChange("Description_ZH"); } }
        private string _Description_ZH;
        public static FieldInfo description_zh = new FieldInfo("m_QS_List", "Description_ZH");

        [Column]
        public string Short_Text { get { return _Short_Text; } set { _Short_Text = value; EntityState.FieldChange("Short_Text"); } }
        private string _Short_Text;
        public static FieldInfo short_text = new FieldInfo("m_QS_List", "Short_Text");

        [Column]
        public string DecPl { get { return _DecPl; } set { _DecPl = value; EntityState.FieldChange("DecPl"); } }
        private string _DecPl;
        public static FieldInfo decpl = new FieldInfo("m_QS_List", "DecPl");

        [Column]
        public string Lower_SpecLimit { get { return _Lower_SpecLimit; } set { _Lower_SpecLimit = value; EntityState.FieldChange("Lower_SpecLimit"); } }
        private string _Lower_SpecLimit;
        public static FieldInfo lower_speclimit = new FieldInfo("m_QS_List", "Lower_SpecLimit");

        [Column]
        public string Upper_SpecLimit { get { return _Upper_SpecLimit; } set { _Upper_SpecLimit = value; EntityState.FieldChange("Upper_SpecLimit"); } }
        private string _Upper_SpecLimit;
        public static FieldInfo upper_speclimit = new FieldInfo("m_QS_List", "Upper_SpecLimit");

        [Column]
        public string Valid_From { get { return _Valid_From; } set { _Valid_From = value; EntityState.FieldChange("Valid_From"); } }
        private string _Valid_From;
        public static FieldInfo valid_from = new FieldInfo("m_QS_List", "Valid_From");

        [Column]
        public string Created_On { get { return _Created_On; } set { _Created_On = value; EntityState.FieldChange("Created_On"); } }
        private string _Created_On;
        public static FieldInfo created_on = new FieldInfo("m_QS_List", "Created_On");

        [Column]
        public string Changed_On { get { return _Changed_On; } set { _Changed_On = value; EntityState.FieldChange("Changed_On"); } }
        private string _Changed_On;
        public static FieldInfo changed_on = new FieldInfo("m_QS_List", "Changed_On");

        [Column]
        [NowDate]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } }
        private DateTime _Time;
        public static FieldInfo time = new FieldInfo("m_QS_List", "Time");

        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } }
        private int _Status;
        public static FieldInfo status = new FieldInfo("m_QS_List", "Status");
    }
}
